package ZuoYe14;

public class ShuiXianHua {

	public static void main(String[] args) {
		int i =100;
		while(i>=100&&i<1000){
		
		int a = i/100%10;
		int s = i/10%10;
		int d = i%10;
		if(i == a * a * a + s * s * s + d * d * d ){
		System.out.println(i);
		}
		i++;

	}

}
}
	